
		function openPopup(mylink, windowname)
		{
			var varwindow;
		var href;
		if (typeof(mylink) == 'string')
		   href=mylink;
		else
		   href=mylink.href;
		mywindow=window.open(href, windowname, 'width=815,height=500,scrollbars=yes');
		return false;
		}
		

		function closePopup() {
			if(false == my_window.closed)
				my_window.self.close ();
			else
				alert('Popup Window already closed!');
		}

		function closeWindow() {
			window.self.close();
		}
		function x(){
			alert(Window.varwindow);
		}